package com.beiji.lib.pen.listener

import com.beiji.lib.pen.constants.PenConnectState
import com.beiji.lib.pen.model.DotUnit
import com.tqltech.tqlpencomm.bean.Dot


/**
 * 数码笔数据回调
 * Created by X on 2018/6/13.
 */
interface IPenDataListener {

    fun onPenConnectStateChanged(state: PenConnectState)

    fun onBatteryLevelChanged(percent: Int)

    fun onReceiveDot(dot: DotUnit)

    fun onReceiveTqlDot(dot: Dot)

    fun onOfflineDataCount(count: Int)

    fun onOfflineDataDownloadProgress(progress: Int)

    fun onOfflineDataReceive(dot: DotUnit)

    fun onOfflineDataReceiveProgress(progress: Int)

}